/*
 * Created on 22/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo;

import java.math.BigDecimal;
import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.CargaConfig;
import com.stefanini.pe.bbva.mbl.in.bo.iface.CargaConfigBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.CargaConfigDAO;

/**
 * @author ltorres
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class CargaConfigBOImpl implements CargaConfigBO {
	CargaConfigDAO cargaConfigDAO;
	
	/**
	 * @param cargaConfigDAO
	 */
	public CargaConfigBOImpl(CargaConfigDAO cargaConfigDAO) {
		super();
		this.cargaConfigDAO = cargaConfigDAO;
	}
	/**
	 * @return Returns the cargaConfigDAO.
	 */
	public CargaConfigDAO getCargaConfigDAO() {
		return cargaConfigDAO;
	}
	/**
	 * @param cargaConfigDAO The cargaConfigDAO to set.
	 */
	public void setCargaConfigDAO(CargaConfigDAO cargaConfigDAO) {
		this.cargaConfigDAO = cargaConfigDAO;
	}
	/**
	 * @param codCarga
	 * @return
	 */
	public int deleteByPrimaryKey(BigDecimal codCarga) {
		return cargaConfigDAO.deleteByPrimaryKey(codCarga);
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	public boolean equals(Object obj) {
		return cargaConfigDAO.equals(obj);
	}
	/**
	 * @param record
	 */
	public void insert(CargaConfig record) {
		cargaConfigDAO.insert(record);
	}
	/**
	 * @param record
	 */
	public void insertSelective(CargaConfig record) {
		cargaConfigDAO.insertSelective(record);
	}
	/**
	 * @param codCarga
	 * @return
	 */
	public CargaConfig selectByPrimaryKey(BigDecimal codCarga) {
		return cargaConfigDAO.selectByPrimaryKey(codCarga);
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKey(CargaConfig record) {
		return cargaConfigDAO.updateByPrimaryKey(record);
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKeySelective(CargaConfig record) {
		return cargaConfigDAO.updateByPrimaryKeySelective(record);
	}
	
	public int selectSequence(){                
        return cargaConfigDAO.selectSequence();
    }
	
	public List selectAll(){                
        return cargaConfigDAO.selectAll();
    }
	
	
	
}
